home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / zlaset.z / zlaset
Encoding:
Text File  |  2002-10-03  |  3.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ZZZZLLLLAAAASSSSEEEETTTT((((3333SSSS))))                                                          ZZZZLLLLAAAASSSSEEEETTTT((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ZLASET - initialize a 2-D array A to BETA on the diagonal and ALPHA on
  10.      the offdiagonals
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE ZLASET( UPLO, M, N, ALPHA, BETA, A, LDA )
  14.  
  15.          CHARACTER      UPLO
  16.  
  17.          INTEGER        LDA, M, N
  18.  
  19.          COMPLEX*16     ALPHA, BETA
  20.  
  21.          COMPLEX*16     A( LDA, * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      ZLASET initializes a 2-D array A to BETA on the diagonal and ALPHA on the
  38.      offdiagonals.
  39.  
  40. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  41.      UPLO    (input) CHARACTER*1
  42.              Specifies the part of the matrix A to be set.  = 'U':      Upper
  43.              triangular part is set. The lower triangle is unchanged.  = 'L':
  44.              Lower triangular part is set. The upper triangle is unchanged.
  45.              Otherwise:  All of the matrix A is set.
  46.  
  47.      M       (input) INTEGER
  48.              On entry, M specifies the number of rows of A.
  49.  
  50.      N       (input) INTEGER
  51.              On entry, N specifies the number of columns of A.
  52.  
  53.      ALPHA   (input) COMPLEX*16
  54.              All the offdiagonal array elements are set to ALPHA.
  55.  
  56.      BETA    (input) COMPLEX*16
  57.              All the diagonal array elements are set to BETA.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ZZZZLLLLAAAASSSSEEEETTTT((((3333SSSS))))                                                          ZZZZLLLLAAAASSSSEEEETTTT((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      A       (input/output) COMPLEX*16 array, dimension (LDA,N)
  75.              On entry, the m by n matrix A.  On exit, A(i,j) = ALPHA, 1 <= i
  76.              <= m, 1 <= j <= n, i.ne.j; A(i,i) = BETA , 1 <= i <= min(m,n)
  77.  
  78.      LDA     (input) INTEGER
  79.              The leading dimension of the array A.  LDA >= max(1,M).
  80.  
  81. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  82.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  83.  
  84.      This man page is available only online.
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.